package com.thams.junit;

import junit.framework.TestCase;

import com.thams.entity.InventoryClass;
import com.thams.service.i.IU8Service;

public class JunitInventoryTest extends TestCase{

	private static IU8Service u8Service = (IU8Service) ServiceFactory.getBean("u8Service");
	
	public void testInsert(){
		InventoryClass inv = new InventoryClass();
		inv.setCinvCcode("10");
		inv.setCinvCname("乱七八糟");
		inv.setIinvCgrade(new Short("1"));
		inv.setBinvCend(new Byte("0"));
		u8Service.insertInventoryClass(inv);
	}
}
